package com.eliota.mapper;

import com.eliota.entity.Menu;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Mapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author MG
 * @since 2023-03-28
 */
@Mapper
public interface MenuMapper extends BaseMapper<Menu> {

    @Delete("update t_menu set t_menu.statue = 0 where id = #{id}")
    int updateStatue(Integer id);


}
